package com.mazsn.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.mazsn.annotate.CurrentUser;
import com.mazsn.bean.User;

@RestController
public class TestController {

	
	@GetMapping("/test")
	public Object testCurrentUser(@CurrentUser User user) {
	    return user;
	}
}
